from spam_detector import SpamDetector

# 创建检测器
detector = SpamDetector()

# 训练模型
detector.train()

# 预测邮件
result = detector.predict_email("Your email text here")
print(f"预测结果: {result['prediction']}")
